If a method is10 lines long and8 lines of the method were exercised in a test run, then the method has a line coverage of80%. 如果一个方法有10行代码,其中的8行在测试中被执行,那么这个方法的行覆盖率是80%。
In this case, it can take a long time to deploy test assets for the first test run, depending on the speed of the connection and the amount of test asset data to be transferred from the workbench to the agents. 在这种情况下,根据连接速度和要从工作台传输到代理的测试资产数据量,在第一次运行测试的时候,部署测试资产可能会花费较长的时间。
As long as all the test cases pass, I add the new unit test class to my unit test automation library, which gets run on every build. 只要通过所有的测试用例,我就将向单元测试自动库添加新的单元测试类,在每次构建时运行。
Q3: For how long will the beta test program run? 将会有多少个公开测试版本?
JUnit timings reporting how long each test case takes to run will give an idea of where any performance problems lie. JUnit计时结果报告了每个测试用例运行了多长时间,这将将我们对任何性能问题的方位有一个大致判断。